using System;
using System.Collections.Generic;

namespace Ghasam.Business.Domain.Entity
{
    /// <summary>
    /// EmployeePayment object for NHibernate mapped table EmployeePayment.
    /// </summary>
    [Serializable]
    public class EmployeePayment
    {

        public EmployeePayment()
        {
        }

        public virtual int Id { get; set; }

        public virtual Employee Employee { get; set; }

        public virtual float BasicSalary { get; set; }

        public virtual float InformalSalary { get; set; }

        public virtual float TaxPrice { get; set; }

        public virtual float HomeExtra { get; set; }

        public virtual float ChildrenExtra { get; set; }

        public virtual float GoodsExtra { get; set; }

        public virtual float OffHoursWithoutSalary { get; set; }

        public virtual float OverTimeHours { get; set; }

        public virtual float OffHoursPrice { get; set; }

        public virtual float OverTimeHoursPrice { get; set; }

        public virtual DateTime PaymentDate { get; set; }

        public virtual DateTime CreateDate { get; set; }

        public virtual DateTime ModifyStamp { get; set; }

        public override int GetHashCode()
        {
            return Id.GetHashCode();
        }

    }
}
